package com.youmeek.ssm.module.category.service;

import com.youmeek.ssm.module.category.model.TaxCategory;

import java.util.Map;

public interface ITaxCategoryService {

    /**
     * 通过id查询TaxCategory对象
     *
     * @param categoryId
     */
    TaxCategory selectByPrimaryKey(String categoryId);

    /**
     * 通过mergeCoding查询TaxCategory
     */
    TaxCategory selectTaxCategoryByMergeCoding(String mergeCoding);

    TaxCategory selectByCode(String coding);

    Map<String, TaxCategory> getAllTaxCategory();

    public TaxCategory saveTaxcategory(TaxCategory taxCategory);

    /**
     * @title: selectByCopyId
     * @description: 导入商品表数据所用
     * @param id
     * @return
     */
    TaxCategory selectByCopyId(String id);

}
